package model

import "time"

type User struct {
	Model
	Phone string `gorm:"phone" json:"phone"`
	Ip string `gorm:"ip" json:"ip"`
	Money float64 `json:"money" gorm:"money"`
	Integral int `json:"integral" gorm:"integral"`
	LoginTime time.Time
}

func (table *User) TableName() string {
	return "t_user"
}